package com.cykj.user.mapper;

import com.cykj.system.api.domain.CtAddress;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CtAddressMapper {
    List<CtAddress> selectAddressList(CtAddress address);
    CtAddress selectAddressById(Long id);
    int insertAddress(CtAddress address);
    int updateAddress(CtAddress address);
    int deleteAddressById(Long id);
    int cancelDefaultAddress(Long customerId);
    int setDefaultAddress(Long id);
}